﻿using SHZY.Common.Const;
using SHZY.Common.Contracts;
using SqlSugar;

namespace SHZY.Business.Entitys.Entity
{
    /// <summary>
    /// 现场调查表实体.
    /// </summary>
    [SugarTable("qms_busi_customer_survey", "现场调查表")]
    [Tenant(ClaimConst.TENANTID)]
    public class QmsBusiCustomerSurveyEntity : CLDEntityBase
    {
        /// <summary>
        /// Guid.
        /// </summary>
        //[SugarColumn(ColumnName = "F_Id", ColumnDescription = "Guid", IsPrimaryKey = true)]
        //public string Id { get; set; }

        /// <summary>
        /// 主Guid.
        /// </summary>
        [SugarColumn(ColumnName = "F_CustomerId", ColumnDescription = "主Guid")]
        public string CustomerId { get; set; }

        /// <summary>
        /// 项目名称.
        /// </summary>
        [SugarColumn(ColumnName = "F_ProjectName", ColumnDescription = "项目名称")]
        public string ProjectName { get; set; }

        /// <summary>
        /// 订单号.
        /// </summary>
        [SugarColumn(ColumnName = "F_OrderNo", ColumnDescription = "订单号")]
        public string OrderNo { get; set; }

        /// <summary>
        /// 客户号.
        /// </summary>
        [SugarColumn(ColumnName = "F_CustomerCode", ColumnDescription = "客户号")]
        public string CustomerCode { get; set; }

        /// <summary>
        /// 工地地址.
        /// </summary>
        [SugarColumn(ColumnName = "F_GDAddress", ColumnDescription = "工地地址")]
        public string GdAddress { get; set; }

        /// <summary>
        /// 反馈日期.
        /// </summary>
        [SugarColumn(ColumnName = "F_FeedbackDate", ColumnDescription = "反馈日期")]
        public DateTime? FeedbackDate { get; set; }

        /// <summary>
        /// 反馈问题描述.
        /// </summary>
        [SugarColumn(ColumnName = "F_FeedbackRemark", ColumnDescription = "反馈问题描述")]
        public string FeedbackRemark { get; set; }

        /// <summary>
        /// 反馈人.
        /// </summary>
        [SugarColumn(ColumnName = "F_FeedbackUserId", ColumnDescription = "反馈人")]
        public string FeedbackUserId { get; set; }

        /// <summary>
        /// 处理过程.
        /// </summary>
        [SugarColumn(ColumnName = "F_Process", ColumnDescription = "处理过程")]
        public string Process { get; set; }

        /// <summary>
        /// 调查人确认.
        /// </summary>
        [SugarColumn(ColumnName = "F_ConfirmedUserId", ColumnDescription = "调查人确认")]
        public string ConfirmedUserId { get; set; }

        /// <summary>
        /// 调查人日期.
        /// </summary>
        [SugarColumn(ColumnName = "F_ConfirmedDate", ColumnDescription = "调查人日期")]
        public DateTime? ConfirmedDate { get; set; }

        /// <summary>
        /// 经办人.
        /// </summary>
        [SugarColumn(ColumnName = "F_HandledUserId", ColumnDescription = "经办人")]
        public string HandledUserId { get; set; }

        /// <summary>
        /// 经办人日期.
        /// </summary>
        [SugarColumn(ColumnName = "F_HandledDate", ColumnDescription = "经办人日期")]
        public DateTime? HandledDate { get; set; }

        /// <summary>
        /// 签名.
        /// </summary>
        [SugarColumn(ColumnName = "F_FIle", ColumnDescription = "签名")]
        public string FIle { get; set; }

        /// <summary>
        /// 状态：0保存 1提交.
        /// </summary>
        [SugarColumn(ColumnName = "F_Status", ColumnDescription = "状态：0保存 1提交")]
        public string Status { get; set; }

        /// <summary>
        /// 有效标志0无效 1有效.
        /// </summary>
        [SugarColumn(ColumnName = "F_EnabledMark", ColumnDescription = "有效标志0无效 1有效")]
        public int? EnabledMark { get; set; }
    }
}
